/* 设置css动画用；传入ref的值，animationCss名称，取消时间 */
export default {
  methods:{
    setAnimation(el,animationCss,timeout) {
      let that = this;
      that.$refs[el].$el.classList.add(animationCss);
      setTimeout(()=>{
        that.$refs[el].$el.classList.remove(animationCss);
      },timeout)
    }
  }
}
